-
Notifications
You must be signed in to change notification settings - Fork 31
Improve the construction of QobjEvo
#339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #339 +/- ##
==========================================
+ Coverage 93.28% 93.30% +0.02%
==========================================
Files 38 38
Lines 2637 2645 +8
==========================================
+ Hits 2460 2468 +8
Misses 177 177 ☔ View full report in Codecov by Sentry. |
|
Hmm... the code-quality test succeed in my local laptop... Not sure why it fails in CI pipeline |
|
I think it's good. Do we have tests for type instabilities? What happens if we run @inferred QobjEvo((op, coef))and all the other methods? |
Ok, added~ |
|
Are you using the latest versions in your local runtests for the code quality? |
Yes, Also, |
|
I have the same error locally |
|
I think the error comes from the new method definition of |
|
Ok, fixed |
Checklist
Thank you for contributing to
QuantumToolbox.jl! Please make sure you have finished the following tasks before opening the PR.make test.juliaformatted by running:make format.docs/folder) related to code changes were updated and able to build locally by running:make docs.CHANGELOG.mdshould be updated (regarding to the code changes) and built by running:make changelog.Request for a review after you have completed all the tasks. If you have not finished them all, you can also open a Draft Pull Request to let the others know this on-going work.
Description
Summary of this PR:
QobjEvowith input typeTuple{QuantumObject,Function}.Functionby usingBase.methods.Related issues or PRs
close #338